﻿<%@ Page Title="" Language="C#" MasterPageFile="~/SiteAdm.Master" AutoEventWireup="true"
    CodeBehind="ClinicaEdit.aspx.cs" Inherits="AgileSaude.Web.Admin.ClinicaEdit" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <!-- TÍTULO DA PÁGINA -->
    <div class="area-titulo container-fluid">
        <div class="container">
            <h2 class="titulo">
                Cadastro de Clínicas</h2>
        </div>
    </div>
    <!-- FIM DO TÍTULO -->
    <div class="container">
        <div class="row">
            <asp:HiddenField ID="hdfIdMedico" runat="server" />
            <span class="failureNotification">
                <asp:Literal ID="FailureText" runat="server"></asp:Literal>
            </span>
            <asp:ValidationSummary ID="LoginMedicoValidationSummary" runat="server" CssClass="failureNotification"
                ValidationGroup="CadastroValidationGroup" />
            <div class="area-formulario">
                <fieldset>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">
                            Nome</label>
                        <div class="col-sm-7">
                            <asp:TextBox ID="txtNome" runat="server" CssClass="form-control"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="NomeRequired" runat="server" ControlToValidate="txtNome"
                                CssClass="failureNotification" ErrorMessage="Nome é obrigatório." ToolTip="Nome é obrigatório."
                                ValidationGroup="CadastroValidationGroup">*</asp:RequiredFieldValidator>
                        </div>
                    </div>
<%--                    <div class="form-group">
                        <label class="col-sm-3 control-label">
                            Especialidade</label>
                        <div class="col-sm-7">
                            <asp:DropDownList ID="ddlEspecialidade" runat="server" CssClass="form-control">
                            </asp:DropDownList>
                        </div>
                    </div>--%>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">
                            Email</label>
                        <div class="col-sm-7">
                            <asp:TextBox ID="txtEmail" runat="server" CssClass="form-control"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="EmailRequired" runat="server" ControlToValidate="txtEmail"
                                CssClass="failureNotification" ErrorMessage="Email é obrigatório." ToolTip="Email é obrigatório."
                                ValidationGroup="CadastroValidationGroup">*</asp:RequiredFieldValidator>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">
                            Endereço</label>
                        <div class="col-sm-7">
                            <asp:TextBox ID="txtEndereco" runat="server" CssClass="form-control"></asp:TextBox>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">
                            Cidade</label>
                        <div class="col-sm-7">
                            <asp:DropDownList ID="ddlCidade" runat="server" CssClass="form-control">
                            </asp:DropDownList>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">
                            Bairro</label>
                        <div class="col-sm-7">
                            <asp:TextBox ID="txtBairro" runat="server" CssClass="form-control"></asp:TextBox>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">
                            CEP</label>
                        <div class="col-sm-7">
                            <asp:TextBox ID="txtCEP" runat="server" CssClass="form-control"></asp:TextBox>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">
                            Telefone 1</label>
                        <div class="col-sm-7">
                            <asp:TextBox ID="txtTel1" runat="server" CssClass="form-control"></asp:TextBox>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">
                            Telefone 2</label>
                        <div class="col-sm-7">
                            <asp:TextBox ID="txtTel2" runat="server" CssClass="form-control"></asp:TextBox>
                        </div>
                    </div>
                </fieldset>
                <div class="row">
                    <div class="form-group">
                        <asp:LinkButton ID="btnSalvar" runat="server" class="btn btn-md btn-success" Text="&#xf00c; Salvar"
                            ValidationGroup="CadastroValidationGroup" OnClick="btnSalvar_Click"></asp:LinkButton>
                        <asp:LinkButton ID="btnVoltar" runat="server" class="btn btn-md btn-warning" Text="&#xf060; Voltar"
                            OnClick="btnVoltar_Click"></asp:LinkButton>
                    </div>
                </div>
            </div>
        </div>
    </div>
</asp:Content>
